using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static cframework.SDKUtil.ISDKUtil;

namespace cframework.SDKUtil
{
    public class SDKUtilEditor : ISDKUtil
    {
        public static SDKUtilEditor _instance;

        public static SDKUtilEditor instance
        {
            get
            {
                if (_instance == null) _instance = new();
                return _instance;
            }
        }

        private SDKUtilEditor() { }

        public IEnumerator InitSDK()
        {
            var result = new InitResult()
            {
                success = true,
            };

            yield return result;
        }

        public IEnumerator Login(double timeout = 0)
        {
            var result = new LoginResult()
            {
                success = true,
            };

            yield return result;
        }
    }
}
